package com.jaiai.work.project.entity;

import java.util.Date;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.activerecord.Model;
import com.baomidou.mybatisplus.annotations.TableName;
import java.io.Serializable;

/**
 * <p>
 * 项目表
 * </p>
 *
 * @author 佳爱网络科技
 * @since 2018-04-18
 */
@TableName("t_project")
public class TProject extends Model<TProject> {

    private static final long serialVersionUID = 1L;

    @TableId("project_id")
	private String projectId;
	private String code;
    /**
     * 项目名称
     */
	@TableField("project_name")
	private String projectName;
    /**
     * 项目成员（成员ID以逗号分隔）
     */
	private String leaguers;
    /**
     * 封面
     */
	private String cover;
    /**
     * 权重(项目加急程度.值越高排越前)
     */
	private Integer weight;
    /**
     * 项目进度百分比
     */
	private Double progress;
    /**
     * 项目注释
     */
	private String notes;
    /**
     * 项目发起人
     */
	private String Initiator;
    /**
     * 项目创建时间
     */
	@TableField("create_time")
	private Date createTime;


	public String getProjectId() {
		return projectId;
	}

	public void setProjectId(String projectId) {
		this.projectId = projectId;
	}

	public String getCode() {
		return code;
	}

	public void setCode(String code) {
		this.code = code;
	}

	public String getProjectName() {
		return projectName;
	}

	public void setProjectName(String projectName) {
		this.projectName = projectName;
	}

	public String getLeaguers() {
		return leaguers;
	}

	public void setLeaguers(String leaguers) {
		this.leaguers = leaguers;
	}

	public String getCover() {
		return cover;
	}

	public void setCover(String cover) {
		this.cover = cover;
	}

	public Integer getWeight() {
		return weight;
	}

	public void setWeight(Integer weight) {
		this.weight = weight;
	}

	public Double getProgress() {
		return progress;
	}

	public void setProgress(Double progress) {
		this.progress = progress;
	}

	public String getNotes() {
		return notes;
	}

	public void setNotes(String notes) {
		this.notes = notes;
	}

	public String getInitiator() {
		return Initiator;
	}

	public void setInitiator(String Initiator) {
		this.Initiator = Initiator;
	}

	public Date getCreateTime() {
		return createTime;
	}

	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}

	@Override
	protected Serializable pkVal() {
		return this.projectId;
	}

}
